//
//  GHNavigationController.m
//  12-guhu_weibo
//
//  Created by GHapple on 15-1-31.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "GHNavigationController.h"

@implementation GHNavigationController


// 设置一些一次性的属性

+(void)initialize
{
// 取出导航条的外观对象
    UIBarButtonItem *item = [UIBarButtonItem appearance];
    
    // 设置文字的颜色
    
    NSMutableDictionary *atter = [NSMutableDictionary  dictionary];
    atter[NSForegroundColorAttributeName ] = [UIColor orangeColor];
    [item  setTitleTextAttributes:atter forState:UIControlStateNormal];
    
    // 设置高亮状态的文字的颜色
    
    
    // 设置高亮状态文字的颜色
    NSMutableDictionary *higMd = [NSMutableDictionary dictionary];
    higMd[NSForegroundColorAttributeName] = [UIColor greenColor];
    [item setTitleTextAttributes:higMd forState:UIControlStateHighlighted];
    
    
    

}



@end
